package com.web.kdl.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
@Data
public class UpdateMatrixDto {
    @NotNull(message = "请选择阵列id")
    private Integer matrixId;
    @NotNull(message = "请选择站点")
    private Integer siteId;
    @NotNull(message = "请输入站点下的飞轮数量")
    private Integer wheelNumber;
    @NotBlank(message = "请输入阵列名称")
    private String matrixName;
    @NotBlank(message = "请输入订阅主题")
    private String topic;
//    @NotBlank(message = "请输入Ip")
    private String ip;
//    @NotNull(message = "请输入端口")
    private Integer port;
}
